package com.hqm.stock.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Pur_Move
 * @author 
 */
public class PurMove implements Serializable {
    /**
     * 在库移动单号
     */
    private String moveno;

    /**
     * 申请日期
     */
    private Date applydate;

    /**
     * 申请人
     */
    private String applyman;

    /**
     * 确认日期
     */
    private Date auditdate;

    /**
     * 确认人
     */
    private String auditman;

    /**
     * 取消日期
     */
    private Date disauditdate;

    /**
     * 取消人
     */
    private String disauditman;

    /**
     * 出库日期
     */
    private Date outstcdate;

    /**
     * 出库人
     */
    private String outstcman;

    /**
     * 入库日期
     */
    private Date instcdate;

    /**
     * 入库人
     */
    private String instcman;

    /**
     * 移出仓
     */
    private String outmovestc;

    /**
     * 移入仓
     */
    private String inmovestc;

    /**
     * 移动单状态(新单、已审核、已完成)
     */
    private String status;

    /**
     * 更新时间
     */
    private Date updatedate;

    /**
     * 更新人
     */
    private String updateman;

    /**
     * 有效标志(0:无效 1:有效)默认1
     */
    private String actionflg;

    /**
     * 备注
     */
    private String remark;

    /**
     * 销售类型代码(经销、代销)
     */
    private String selltype;

    /**
     * 总金额
     */
    private BigDecimal totalmny;

    /**
     * 不含税总金额
     */
    private BigDecimal totaltaxmny;

    /**
     * 移入仓物流同步标志(0:未同步 1:已同步)默认0
     */
    private String inmovesyncflg;

    /**
     * 移入仓物流同步时间
     */
    private Date inmovesyncdate;

    /**
     * 移入仓物流号
     */
    private String inmovesendno;

    /**
     * 移出仓物流同步标志(0:未同步 1:已同步)默认0
     */
    private String outmovesyncflg;

    /**
     * 移出仓物流同步时间
     */
    private Date outmovesyncdate;

    /**
     * 移出仓物流号
     */
    private String outmovesendno;

    /**
     * 财务同步标志(0:未同步 1:已同步)默认0
     */
    private String financesynflg;

    /**
     * 财务同步时间
     */
    private Date financesyndate;

    /**
     * 财务号
     */
    private String financeno;

    private static final long serialVersionUID = 1L;

    public String getMoveno() {
        return moveno;
    }

    public void setMoveno(String moveno) {
        this.moveno = moveno;
    }

    public Date getApplydate() {
        return applydate;
    }

    public void setApplydate(Date applydate) {
        this.applydate = applydate;
    }

    public String getApplyman() {
        return applyman;
    }

    public void setApplyman(String applyman) {
        this.applyman = applyman;
    }

    public Date getAuditdate() {
        return auditdate;
    }

    public void setAuditdate(Date auditdate) {
        this.auditdate = auditdate;
    }

    public String getAuditman() {
        return auditman;
    }

    public void setAuditman(String auditman) {
        this.auditman = auditman;
    }

    public Date getDisauditdate() {
        return disauditdate;
    }

    public void setDisauditdate(Date disauditdate) {
        this.disauditdate = disauditdate;
    }

    public String getDisauditman() {
        return disauditman;
    }

    public void setDisauditman(String disauditman) {
        this.disauditman = disauditman;
    }

    public Date getOutstcdate() {
        return outstcdate;
    }

    public void setOutstcdate(Date outstcdate) {
        this.outstcdate = outstcdate;
    }

    public String getOutstcman() {
        return outstcman;
    }

    public void setOutstcman(String outstcman) {
        this.outstcman = outstcman;
    }

    public Date getInstcdate() {
        return instcdate;
    }

    public void setInstcdate(Date instcdate) {
        this.instcdate = instcdate;
    }

    public String getInstcman() {
        return instcman;
    }

    public void setInstcman(String instcman) {
        this.instcman = instcman;
    }

    public String getOutmovestc() {
        return outmovestc;
    }

    public void setOutmovestc(String outmovestc) {
        this.outmovestc = outmovestc;
    }

    public String getInmovestc() {
        return inmovestc;
    }

    public void setInmovestc(String inmovestc) {
        this.inmovestc = inmovestc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public String getUpdateman() {
        return updateman;
    }

    public void setUpdateman(String updateman) {
        this.updateman = updateman;
    }

    public String getActionflg() {
        return actionflg;
    }

    public void setActionflg(String actionflg) {
        this.actionflg = actionflg;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSelltype() {
        return selltype;
    }

    public void setSelltype(String selltype) {
        this.selltype = selltype;
    }

    public BigDecimal getTotalmny() {
        return totalmny;
    }

    public void setTotalmny(BigDecimal totalmny) {
        this.totalmny = totalmny;
    }

    public BigDecimal getTotaltaxmny() {
        return totaltaxmny;
    }

    public void setTotaltaxmny(BigDecimal totaltaxmny) {
        this.totaltaxmny = totaltaxmny;
    }

    public String getInmovesyncflg() {
        return inmovesyncflg;
    }

    public void setInmovesyncflg(String inmovesyncflg) {
        this.inmovesyncflg = inmovesyncflg;
    }

    public Date getInmovesyncdate() {
        return inmovesyncdate;
    }

    public void setInmovesyncdate(Date inmovesyncdate) {
        this.inmovesyncdate = inmovesyncdate;
    }

    public String getInmovesendno() {
        return inmovesendno;
    }

    public void setInmovesendno(String inmovesendno) {
        this.inmovesendno = inmovesendno;
    }

    public String getOutmovesyncflg() {
        return outmovesyncflg;
    }

    public void setOutmovesyncflg(String outmovesyncflg) {
        this.outmovesyncflg = outmovesyncflg;
    }

    public Date getOutmovesyncdate() {
        return outmovesyncdate;
    }

    public void setOutmovesyncdate(Date outmovesyncdate) {
        this.outmovesyncdate = outmovesyncdate;
    }

    public String getOutmovesendno() {
        return outmovesendno;
    }

    public void setOutmovesendno(String outmovesendno) {
        this.outmovesendno = outmovesendno;
    }

    public String getFinancesynflg() {
        return financesynflg;
    }

    public void setFinancesynflg(String financesynflg) {
        this.financesynflg = financesynflg;
    }

    public Date getFinancesyndate() {
        return financesyndate;
    }

    public void setFinancesyndate(Date financesyndate) {
        this.financesyndate = financesyndate;
    }

    public String getFinanceno() {
        return financeno;
    }

    public void setFinanceno(String financeno) {
        this.financeno = financeno;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PurMove other = (PurMove) that;
        return (this.getMoveno() == null ? other.getMoveno() == null : this.getMoveno().equals(other.getMoveno()))
            && (this.getApplydate() == null ? other.getApplydate() == null : this.getApplydate().equals(other.getApplydate()))
            && (this.getApplyman() == null ? other.getApplyman() == null : this.getApplyman().equals(other.getApplyman()))
            && (this.getAuditdate() == null ? other.getAuditdate() == null : this.getAuditdate().equals(other.getAuditdate()))
            && (this.getAuditman() == null ? other.getAuditman() == null : this.getAuditman().equals(other.getAuditman()))
            && (this.getDisauditdate() == null ? other.getDisauditdate() == null : this.getDisauditdate().equals(other.getDisauditdate()))
            && (this.getDisauditman() == null ? other.getDisauditman() == null : this.getDisauditman().equals(other.getDisauditman()))
            && (this.getOutstcdate() == null ? other.getOutstcdate() == null : this.getOutstcdate().equals(other.getOutstcdate()))
            && (this.getOutstcman() == null ? other.getOutstcman() == null : this.getOutstcman().equals(other.getOutstcman()))
            && (this.getInstcdate() == null ? other.getInstcdate() == null : this.getInstcdate().equals(other.getInstcdate()))
            && (this.getInstcman() == null ? other.getInstcman() == null : this.getInstcman().equals(other.getInstcman()))
            && (this.getOutmovestc() == null ? other.getOutmovestc() == null : this.getOutmovestc().equals(other.getOutmovestc()))
            && (this.getInmovestc() == null ? other.getInmovestc() == null : this.getInmovestc().equals(other.getInmovestc()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getUpdatedate() == null ? other.getUpdatedate() == null : this.getUpdatedate().equals(other.getUpdatedate()))
            && (this.getUpdateman() == null ? other.getUpdateman() == null : this.getUpdateman().equals(other.getUpdateman()))
            && (this.getActionflg() == null ? other.getActionflg() == null : this.getActionflg().equals(other.getActionflg()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getSelltype() == null ? other.getSelltype() == null : this.getSelltype().equals(other.getSelltype()))
            && (this.getTotalmny() == null ? other.getTotalmny() == null : this.getTotalmny().equals(other.getTotalmny()))
            && (this.getTotaltaxmny() == null ? other.getTotaltaxmny() == null : this.getTotaltaxmny().equals(other.getTotaltaxmny()))
            && (this.getInmovesyncflg() == null ? other.getInmovesyncflg() == null : this.getInmovesyncflg().equals(other.getInmovesyncflg()))
            && (this.getInmovesyncdate() == null ? other.getInmovesyncdate() == null : this.getInmovesyncdate().equals(other.getInmovesyncdate()))
            && (this.getInmovesendno() == null ? other.getInmovesendno() == null : this.getInmovesendno().equals(other.getInmovesendno()))
            && (this.getOutmovesyncflg() == null ? other.getOutmovesyncflg() == null : this.getOutmovesyncflg().equals(other.getOutmovesyncflg()))
            && (this.getOutmovesyncdate() == null ? other.getOutmovesyncdate() == null : this.getOutmovesyncdate().equals(other.getOutmovesyncdate()))
            && (this.getOutmovesendno() == null ? other.getOutmovesendno() == null : this.getOutmovesendno().equals(other.getOutmovesendno()))
            && (this.getFinancesynflg() == null ? other.getFinancesynflg() == null : this.getFinancesynflg().equals(other.getFinancesynflg()))
            && (this.getFinancesyndate() == null ? other.getFinancesyndate() == null : this.getFinancesyndate().equals(other.getFinancesyndate()))
            && (this.getFinanceno() == null ? other.getFinanceno() == null : this.getFinanceno().equals(other.getFinanceno()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMoveno() == null) ? 0 : getMoveno().hashCode());
        result = prime * result + ((getApplydate() == null) ? 0 : getApplydate().hashCode());
        result = prime * result + ((getApplyman() == null) ? 0 : getApplyman().hashCode());
        result = prime * result + ((getAuditdate() == null) ? 0 : getAuditdate().hashCode());
        result = prime * result + ((getAuditman() == null) ? 0 : getAuditman().hashCode());
        result = prime * result + ((getDisauditdate() == null) ? 0 : getDisauditdate().hashCode());
        result = prime * result + ((getDisauditman() == null) ? 0 : getDisauditman().hashCode());
        result = prime * result + ((getOutstcdate() == null) ? 0 : getOutstcdate().hashCode());
        result = prime * result + ((getOutstcman() == null) ? 0 : getOutstcman().hashCode());
        result = prime * result + ((getInstcdate() == null) ? 0 : getInstcdate().hashCode());
        result = prime * result + ((getInstcman() == null) ? 0 : getInstcman().hashCode());
        result = prime * result + ((getOutmovestc() == null) ? 0 : getOutmovestc().hashCode());
        result = prime * result + ((getInmovestc() == null) ? 0 : getInmovestc().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getUpdatedate() == null) ? 0 : getUpdatedate().hashCode());
        result = prime * result + ((getUpdateman() == null) ? 0 : getUpdateman().hashCode());
        result = prime * result + ((getActionflg() == null) ? 0 : getActionflg().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getSelltype() == null) ? 0 : getSelltype().hashCode());
        result = prime * result + ((getTotalmny() == null) ? 0 : getTotalmny().hashCode());
        result = prime * result + ((getTotaltaxmny() == null) ? 0 : getTotaltaxmny().hashCode());
        result = prime * result + ((getInmovesyncflg() == null) ? 0 : getInmovesyncflg().hashCode());
        result = prime * result + ((getInmovesyncdate() == null) ? 0 : getInmovesyncdate().hashCode());
        result = prime * result + ((getInmovesendno() == null) ? 0 : getInmovesendno().hashCode());
        result = prime * result + ((getOutmovesyncflg() == null) ? 0 : getOutmovesyncflg().hashCode());
        result = prime * result + ((getOutmovesyncdate() == null) ? 0 : getOutmovesyncdate().hashCode());
        result = prime * result + ((getOutmovesendno() == null) ? 0 : getOutmovesendno().hashCode());
        result = prime * result + ((getFinancesynflg() == null) ? 0 : getFinancesynflg().hashCode());
        result = prime * result + ((getFinancesyndate() == null) ? 0 : getFinancesyndate().hashCode());
        result = prime * result + ((getFinanceno() == null) ? 0 : getFinanceno().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", moveno=").append(moveno);
        sb.append(", applydate=").append(applydate);
        sb.append(", applyman=").append(applyman);
        sb.append(", auditdate=").append(auditdate);
        sb.append(", auditman=").append(auditman);
        sb.append(", disauditdate=").append(disauditdate);
        sb.append(", disauditman=").append(disauditman);
        sb.append(", outstcdate=").append(outstcdate);
        sb.append(", outstcman=").append(outstcman);
        sb.append(", instcdate=").append(instcdate);
        sb.append(", instcman=").append(instcman);
        sb.append(", outmovestc=").append(outmovestc);
        sb.append(", inmovestc=").append(inmovestc);
        sb.append(", status=").append(status);
        sb.append(", updatedate=").append(updatedate);
        sb.append(", updateman=").append(updateman);
        sb.append(", actionflg=").append(actionflg);
        sb.append(", remark=").append(remark);
        sb.append(", selltype=").append(selltype);
        sb.append(", totalmny=").append(totalmny);
        sb.append(", totaltaxmny=").append(totaltaxmny);
        sb.append(", inmovesyncflg=").append(inmovesyncflg);
        sb.append(", inmovesyncdate=").append(inmovesyncdate);
        sb.append(", inmovesendno=").append(inmovesendno);
        sb.append(", outmovesyncflg=").append(outmovesyncflg);
        sb.append(", outmovesyncdate=").append(outmovesyncdate);
        sb.append(", outmovesendno=").append(outmovesendno);
        sb.append(", financesynflg=").append(financesynflg);
        sb.append(", financesyndate=").append(financesyndate);
        sb.append(", financeno=").append(financeno);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}